package org.example.mybattis.mapper;


import org.apache.catalina.User;
import org.apache.ibatis.annotations.Mapper;
import org.example.mybattis.model.UserInfo;

import java.util.List;

@Mapper
public interface UserInfoXmlMapper {

    Integer insert(UserInfo userInfo);


    Integer delete(Integer id);

    Integer update(UserInfo userInfo);


    List<UserInfo> selectAllUser();

    Integer count();

    Integer insertByCondtion(UserInfo userInfo);


    Integer batchDelete(List<Integer> ids);



}
